package com.csun.cmny.provider.service;


import com.csun.cmny.provider.pojo.ExpenseCtr;

import java.util.List;
import java.util.Map;

public interface ExpenseCtrService {
    /**
     * 添加类别
     * author:liqian
     * date:2018-11-07 13:26
     */
    int insert(ExpenseCtr expenseCtr);
    /**
     * 删除类别
     * author:liqian
     * date:2018-11-07 13:27
     */
    int delExpCtrById(Integer expensectrId);
    /**
     * 修改类别
     * author:liqian
     * date:2018-11-07 13:28
     */
    int updateExpCtrById(ExpenseCtr expenseCtr);
    /**
     * 根据ExpenseCtr查询ExpenseCtr
     * author:liqian
     * date:2018-11-07 13:33
     */
    ExpenseCtr selectByExpCtr(ExpenseCtr expenseCtr);
    /**
     * 根据id查询ExpenseCtr
     * author:liqian
     * date:2018-11-07 13:47
     */
    ExpenseCtr selectById(Integer expensectrId);
    /**
     * 根据条件查询该社区的所有类别
     * author:liqian
     * date:2018-11-07 13:49
     */
    List<Map<String,Object>> showAll(Map<String,Object> queryMap);
    /**
     * 根据类别id和机构id查询该类别下的所有项目
     * author:liqian
     * date:2018-11-07 14:34
     */
    List<ExpenseCtr> selectOne(ExpenseCtr expenseCtr);
}
